#include "stm32f10x.h"                  // Device header
#include "Delay.h"
#include "LED.h"
#include "KEY.h"

uint8_t KeyNum;
int main(void)
{
	LED_Init();
	Key_Init();
	while(1)
	{
		KeyNum=Key_GetNum();
		switch(KeyNum)
		{
			case 1:LED1_Turn();break;
			case 2:LED2_Turn();break;
			default:break;
		}
	}
}
